package com.lovo.ssc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 供应单
 * </p>
 *
 * @author lovo
 * @since 2022-07-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("providOrder")
public class Providorder extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "providId", type = IdType.AUTO)
    private Integer providId;

    private String code;

    private String name;

    /**
     * 0-食品 1-水果 2-饮料 3-文具
     */
    private String type;

    /**
     * 0-已发货 1-已入库 2-已付款 3-正在退货 4-完成
     */
    private String state;

    private String address;

    private String time;

    private String batch;

    private String specs;

    @TableField("goodsName")
    private String goodsName;

    private Integer num;

    @TableField("inPrice")
    private Float inPrice;


}
